package com.mf.entity.po;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.ToString;
        import com.baomidou.mybatisplus.annotation.IdType;
        import com.baomidou.mybatisplus.annotation.TableId;
        import com.baomidou.mybatisplus.annotation.TableName;
        import java.io.Serializable;
        import java.time.LocalDateTime;
        import lombok.Getter;
        import lombok.Setter;

/**
* 用户角色关系表
*
* @author mf
* @since 2024-07-05
*/
        @Getter
        @ToString
        @Setter        @TableName("dto_user_by_role")

        public class UserByRole implements Serializable {

        private static final long serialVersionUID = 1L;

                        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

                        /**
                        * 用户id
                        */
        private Integer userId;

                        /**
                        * 角色id
                        */
        private Integer roleId;

        private LocalDateTime createdTime;

        private LocalDateTime updateTime;
}